package com.gem.talkbase.util;


import android.os.Environment;


/*判断SD卡是否存在
 */

public class Tool {
	public static boolean hasSdcard(){
		String state = Environment.getExternalStorageState();
		if(state.equals(Environment.MEDIA_MOUNTED)){
			return true;
		}else{
			return false;
		}
	}

}
